<?php 
if($_POST['Submit']!=''){
if($_POST['Username'] == "purab" && $_POST['Password']=="buddha"){
session_register("global_purab");
$_SESSION['global_purab'] = "purabBhai";
header("location:insert_video.php");
}}

session_start(); 
if(isset($_SESSION['global_purab']))
{
	header("location:insert_video.php");
}

require_once('header.php'); ?> 


<div id="body" style="padding:10px;">LOGIN ADMINISTRATOR<br><br>
<form action="" method="post" class="highlight_text">
  <label>Username
  <input name="Username" type="text" class="inputtext" id="Username">
  </label>
  
  <label>Password
  <input name="Password" type="password" class="inputtext" id="Password">
  </label>
  <label>Submit
  <input name="Submit" type="submit" class="inputsubmit" id="Submit" value="Submit">
  </label>
</form>
</div>
<?php require_once('include/footer.php'); ?> 